package com.ysd.ziyuanshiyongtongji.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * MemberDTO
 */
@Data
@Component
public class MemberDTO {
    //根据身份查询
private String category;//根据身份查询
private String department;
private String profession;
private String grade;
//根据卡号查询
private String cardNo;//根据卡号查询
private String name;//根据姓名查询
private String phone;//根据手机号查询
//根据时间区间查询
@DateTimeFormat(pattern="yyyy-MM-dd")
@JsonFormat(pattern="yyyy-MM-dd")
private Date startDate ;
@DateTimeFormat(pattern="yyyy-MM-dd")
@JsonFormat(pattern="yyyy-MM-dd")
private Date endDate;
private Integer status;//根据状态查询
//分页
private Integer page;
private Integer limit;
}